import type {FC, ReactNode} from "react";

export interface IconProps {
    children?: ReactNode,
}

export type IconChildrenProps = Omit<IconProps, 'children'>;

const Icon: FC<IconProps> = function (props) {
    const {children} = props;
    return (
        <span className={"inline-flex items-center text-inherit not-italic"} role={"img"}>
            {children}
        </span>
    )
}

export default Icon;